function avg(arr){
  return arr.reduce((prev, val) => prev+val) / arr.length;
}

const str = "hello world";

// module.exports = avg;

// module.exports = str;

module.exports = {
  avg, str
};